package cn.hospital.dao;

import cn.hospital.entity.PatientsFamily;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface PatientsFamilyMapper {
    int deleteByPrimaryKey(Integer familyId);

    int insert(PatientsFamily record);

    /**
     * 病人家属表添加
     *
     * @param patientsFamily
     * @return
     */
    int insertSelective(PatientsFamily patientsFamily);

    PatientsFamily selectByPrimaryKey(Integer familyId);

    int updateByPrimaryKeySelective(PatientsFamily record);

    int updateByPrimaryKey(PatientsFamily record);
}